/*
 * Edificio.h
 *
 *  Created on: 27/04/2013
 *      Author: juan
 */

#ifndef EDIFICIO_H_
#define EDIFICIO_H_

#include "Figure.h"
#include "DosPisos.h"
#include <list>

using namespace std;

class Edificio: public Figure {

private:
	void create_components(GLuint program, GLuint pisos);
	list<DosPisos*> lista_componentes;
	Floor * piso;

public:
	Edificio(GLuint program, GLuint pisos);
	virtual ~Edificio();
	virtual void draw(GLuint program, glm::mat4 & world_matrix);

	//virtual void change_textures_data(const std::vector<DatosVertice> & texturas);

	void set_textures(unsigned int id_floor_texture, unsigned int id_stairs_texture,
			unsigned int id_columns_texture);
};

#endif /* EDIFICIO_H_ */
